const ipt = document.querySelector("input");
const avatar = document.querySelector(".avatar");

function rangeChange() {
  avatar.style.setProperty("--progress", `-${ipt?.value}s`);
}
ipt.addEventListener("input", rangeChange);
rangeChange();
